package com.lk.security.authorize;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer;

/**
 * @program: lk-security-parent
 * @description: 授权配置统一接口:所有模块授权配置类都实现此接口
 * @author: Aspirin
 * @create: 2020-06-14 23:12
 */
public interface AuthorizeConfigurerProvider {
  /**
   * 配置授权
   *
   * @param config 权限配置对象
   */
  void configure(
      ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry config);
}
